let Message = {
    add(contentId, type, subType) {
        let data = {
            "contentId":contentId,
            "type":type,
            "subType":subType
        };
        let success = function (result) {
            if (result.error != "0") {
                console.log(result.error);
            }
        };
        // AjaxHelper.post(CommonUtils.domainNamePrefix+"/message/add", data, success);
    },
    readMessage(id){
        let data={
            messageId:id
        }
        let success = function (result) {
            if (result.error != "0") {
                console.log(result.error);
            }
        };
        // AjaxHelper.post(CommonUtils.domainNamePrefix+"/message/readMessage", data, success);
    }
}
export default Message;